package com.wgchao.identityrightsmanagement.domain.organization.model;

import com.wgchao.identityrightsmanagement.domain.DomainEvent;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Date;

/**
 * @ClassName: DepartmentRemovedEvent
 * @author: wgchao
 * @createTime: 2020/6/27 4:32 PM
 * @Description: 部门删除事件
 */
@AllArgsConstructor
@Getter
public class DepartmentRemovedEvent implements DomainEvent {

    private Date occuredOn;

    private String departmentCode;

    private String agencyCode;

    private String operator;

    @Override
    public Date occuredOn() {
        return occuredOn;
    }
}
